﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Class2 : Class1,Class4
    {
        public Class2(string name) : base(name)
        {

        }

        public void fei()
        {
            Console.WriteLine("{0}可以开在马路上",this.Name);
            Console.WriteLine("{0}可以上天", this.Name);
        }

    }
}
